package com.mini.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Transient;
import java.util.Date;

/**
 * @author zhangxiaobin
 * @title: ApplyMiniLessonBusinessREQ
 * @description: TODO
 * @date 2019/10/2711:40
 */
@Data
@ApiModel("申请小课业务id")
public class BusinessBaseInfoNew {

    private Long miniLessonId; //线上初始值 30013566
    @ApiModelProperty(value = "小课业务名称", required = true)
    private String miniLessonName;

    @ApiModelProperty(value = "渠道id")
    private Integer channelId;

    @ApiModelProperty(value = "渠道标识")
    private String channelCode;

    @ApiModelProperty(value = "渠道名称")
    private String channelName;


    @ApiModelProperty(value = "备注")
    private String comments;

    private Long createUserId;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


    @ApiModelProperty(value = "负责人id", required = true)
    private Long fzId;

    @ApiModelProperty(value = "负责人名称", required = true)
    private String fzName;



    @ApiModelProperty(value = "站点类型 飞天系统 =0，星图天网=1")
    private Integer siteType = 0;

    @ApiModelProperty(value = "项目字段id")
    private Integer siteItem;

    @ApiModelProperty(value = "星图站点的模式 1-A 2-B")
    private Integer siteModel;

    @ApiModelProperty(value = "星图站点")
    private String xingtuSite;

    @ApiModelProperty(value = "项目名称")
    @Transient
    private String siteItemName;

    @ApiModelProperty(value = "地域省")
    private String region;

    @ApiModelProperty(value = "地域code")
    private String regionCode;


    @ApiModelProperty(value = "军团id")
    private String armyGroupId;

    @ApiModelProperty(value = "军团名称")
    private String armyGroupName;

    @ApiModelProperty(value = "量子军团id")
    private String quantumGroupId;

    @ApiModelProperty(value = "量子军团名称")
    private String quantumGroupName;

    @ApiModelProperty(value = "是否是白名单 0-否 1-是")
    private Integer whiteListState;
}
